package com.gjy.learning.scala.util

import org.apache.spark.sql.DataFrame

object GetUtil extends GetDFScheamType with GetHeadOption {
  implicit class DataFrameExtensions(df: DataFrame) {
    def getFirstString: String = GetUtil.getFirstString(df)

    def getHeadOption: Any = GetUtil.getHeadOption(df)
  }
}
